package com.briup.day05;

import java.util.Scanner;

/**
 * @author ThinkBook
 */
public class Test03_Three {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请录入两个整型数");
        int x = scanner.nextInt();
        int y = scanner.nextInt();

        int max = (x >y ) ? x : y;
        int min = (x <y ) ? x : y;
        System.out.println("max:" + max);
        System.out.println("min:" + min);

    }
}
